package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.common.wemedia.WmChannel;
import com.zhentao.service.WmChannelService;
import com.zhentao.mapper.WmChannelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author EWEWW
* @description 针对表【wm_channel(频道信息表)】的数据库操作Service实现
* @createDate 2024-06-07 09:40:53
*/
@Service
public class WmChannelServiceImpl extends ServiceImpl<WmChannelMapper, WmChannel>
    implements WmChannelService{
     @Autowired
     private WmChannelMapper wmChannelMapper;

    @Override
    public ResponseResult findAll() {
        List<WmChannel> wmChannelList = wmChannelMapper.selectList(null);
        return ResponseResult.okResult(wmChannelList);
    }
}




